package com.hibernate.hrm.service.contract;

import com.hibernate.hrm.entity.dto.contract.ContractAttachmentDTO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface ContractAttachmentService {
    List<ContractAttachmentDTO> getAttachmentsByContractId(Integer contractId);
    ContractAttachmentDTO uploadAttachment(Integer contractId, MultipartFile file, Integer uploaderId);
    void deleteAttachment(Integer contractId, Integer attachmentId);
}
